package org.geohunter.activity.osmmap;

import org.andnav.osm.util.GeoPoint;
import org.andnav.osm.views.overlay.OpenStreetMapViewOverlayItem;
import org.geohunter.Geocache;

import android.graphics.drawable.Drawable;

class OsmPinItem extends OpenStreetMapViewOverlayItem {
    final Geocache mGeocache;
    final Drawable mPin;

    public OsmPinItem(Geocache geocache, Drawable pin) {
        super((String)geocache.getId(), (String)geocache.getName(), new GeoPoint(geocache.getLatitude(), geocache.getLongitude()));
        mGeocache = geocache;
        mPin = pin;
    }
}
